<!--
 * @Author: 胡海
 * @Date: 2020-11-22 16:50:14
 * @LastEditors: 胡海
 * @LastEditTime: 2020-11-22 16:56:32
 * @Description: 
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>v-cloak</title>
    <style>
        [v-cloak]{
            display: none;
        }
    </style>
    <script src="../vue/src/vue.js"></script>
</head>
<body>
    <div id="app" v-cloak>
        <p>{{message}}</p>
    </div>

    <script>
        var message = 'hello'

        setTimeout(function (){
            var vm = new Vue({
                el: '#app',
                data:{
                    message
                }
            })		
        },1000)

    </script>
</body>
</html>